package com.cyt.base.util;


/**
 *@Author: YuShengQiang
 *@Date: 2018-11-16 17:21
 *@Description: 错误码
 */
public final class ErrorCode {
    public static final  int CODE_0 = 0;
    public static final  String CODE_0_MSG = "操作成功";

    public static final  int CODE_1 = 1;
    public static final  String CODE_1_MSG = "操作失败";

    public static final  int CODE_10 = 10;
    public static final  String CODE_10_MSG = "修改成功";

    public static final  int CODE_100 = 100;
    public static final  String CODE_100_MSG = "数据错误";

    public static final  int CODE_101 = 101;
    public static final  String CODE_101_MSG = "登录名或密码为空！";

    public static final  int CODE_102 = 102;
    public static final  String CODE_102_MSG = "密码错误！";

    public static final  int CODE_103 = 103;
    public static final  String CODE_103_MSG = "登录名错误！";

    public static final  int CODE_104 = 104;
    public static final  String CODE_104_MSG = "帐号被禁用！";

    public static final  int CODE_105 = 105;
    public static final  String CODE_105_MSG = "文件格式错误！";

    public static final  int CODE_106 = 106;
    public static final  String CODE_106_MSG = "文件上传失败";

    public static final  int CODE_200 = 200;
    public static final  String CODE_200_MSG = "没有数据";

    public static final  int CODE_201 = 201;
    public static final  String CODE_201_MSG = "字典码数据为空";

    public static final  int CODE_300 = 300;
    public static final  String CODE_300_MSG = "接口错误";

    public static final int CODE_400 = 400;
    public static final String CODE_400_MSG = "用户信息异常，请联系系统管理员";

    public static final  String CODE_ADD_FAIL_MSG = "添加失败";

    public static final  String CODE_UPDATE_FAIL_MSG = "修改失败";

    public static final  String CODE_DELETE_FAIL_MSG = "删除失败";

    public static final int CODE_500 = 500;
    public static final String CODE_500_MSG = "当前平台必须大于一个有效应用";

    public static final  int CODE_600 = 600 ;
    public static final  String CODE_600_MSG = "base_version 数据为空";

    public static final  int CODE_700 = 700 ;
    public static final  String CODE_700_MSG = "应用数据为空";

    public static final  int CODE_800 = 800 ;
    public static final  String CODE_800_MSG = "PDF转换失败";

    public static final  String ERROR_PHONE_MSG = "手机号输入错误";
}
